package com.cloudwise.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (Speciality)表实体类
 *
 * @author makejava
 * @since 2022-01-21 17:12:13
 */
@SuppressWarnings("serial")
@TableName("tbl_speciality")
public class Speciality extends Model<Speciality> {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //专业名称
    private String specialityName;
    //层次
    private String degree;
    //学习年限

    private Integer studyTime;
    //总学费
    private Integer totleTuition;
    //学分
    private Integer credit;
    //入学考试科目
    private String subject;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSpecialityName() {
        return specialityName;
    }

    public void setSpecialityName(String specialityName) {
        this.specialityName = specialityName;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public Integer getStudyTime() {
        return studyTime;
    }

    public void setStudyTime(Integer studyTime) {
        this.studyTime = studyTime;
    }

    public Integer getTotleTuition() {
        return totleTuition;
    }

    public void setTotleTuition(Integer totleTuition) {
        this.totleTuition = totleTuition;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
    }

